home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / GVECTORS.ZIP / XCBITMAP.H < prev    next >
C/C++ Source or Header  |  1993-09-13  |  1KB  |  48 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XCBITMAP - header file
  4. ;
  5. ;   This module was written by Matthew MacKenzie
  6. ;   matm@eng.umd.edu
  7. ;
  8. ;
  9. ; ****** XLIB - Mode X graphics library                ****************
  10. ; ******                                               ****************
  11. ; ****** Written By Themie Gouthas                     ****************
  12. ;
  13. ; egg@dstos3.dsto.gov.au
  14. ; teg@bart.dsto.gov.au
  15. ;
  16. ;----------------------------------------------------------------------*/
  17.  
  18. #ifndef _XCBITMAP_H_
  19. #define _XCBITMAP_H_
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25.  
  26.  
  27.  int x_compile_bitmap (        /* Compile a linear bitmap to generate  */
  28.     WORD logical_screen_width, /* machine code to plot it at any */
  29.     char far * bitmap,         /* required screen coordinates FAST. */
  30.     char far * output);
  31.  
  32.  int x_sizeof_cbitmap (        /* Find the size of the code which a  */
  33.     WORD logical_screen_width, /* bitmap would result in, if it  */
  34.     char far * bitmap);        /* were compiled (used for allocation). */
  35.  
  36.  void x_put_cbitmap (    /* Displays a compiled bitmap generated */
  37.     WORD XPos,           /* by x_compile_bitmap.                 */
  38.     WORD YPos,
  39.     WORD PageOffset,
  40.     char far * CompiledBitmap);
  41.  
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45.  
  46.  
  47. #endif
  48.